<?php
/**
 * 管理平台公共类
 *
 * @package
 * @author   thinkcom <thinkcom@live.cn>
 * @version  PublicAction.class.php 2012-6-20 10:00:13
 */
 class PublicAction extends Action{
 	public function saveLayout(){
 		
 	}
 	public function loadLayout(){
 		$filename = APP_PATH.'Tpl/Public/Layout/'.$_GET['layout'].C('TMPL_TEMPLATE_SUFFIX');
 		$data = file_get_contents($filename);
 		if(!empty($data)){
 			$this->ajaxReturn($data,"success",1);
 		}else{
 			$this->ajaxReturn(0,"faild",0);
 		}
 	}
 }